package com.tt.job.schedule;

import java.util.HashMap;

/**
 * TODO info
 **/
public class EventException extends Exception {
    private final String group;
    private final String name;
    private final HashMap<String, String> params;

    public EventException(String message, String group, String name, HashMap<String, String> params, Throwable cause) {
        super(message);
        this.group = group;
        this.name = name;
        this.params = params;
        initCause(cause);
    }

    public String getGroup() {
        return group;
    }

    public String getName() {
        return name;
    }

    public HashMap<String, String> getParams() {
        return params;
    }
}
